home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1997 January: Mac OS SDK / Dev.CD Jan 97 SDK2.toast / Development Kits (Disc 2) / OpenDoc Development Framework / ODF-Interest Archive / June 96 / Bug in FW_WindowtoScreen()? < prev    next >
Encoding:
Internet Message Format  |  1996-12-03  |  761 b   |  [TEXT/ttxt]

  1. Subject:     Bug in FW_WindowtoScreen()?
  2. Sent:        6/22/96 10:58 AM
  3. Received:    6/24/96 8:24 AM
  4. From:        Arni McKinley, motion@nbn.com
  5. Reply-To:    ODF Interest, ODF-Interest@CILabs.ORG
  6. To:          OpenDoc Development Framework Discussion List, ODF-Interest@CILabs.
  7.  
  8. Team,
  9.  
  10. In FW_WindowtoScreen() in SLWindow.cpp, an FW_ASSERT requires that the
  11. parameter nbPoint be greater than 1.
  12.  
  13. Yet down in the body of the code a conditional statement checks nbPoint in
  14. the case that it is 1 and acts accordingly. In fact this is the code I
  15. would like to have executed, but the ASSERT prevents that from happening.
  16.  
  17. Same with FW_ScreenToWindow().
  18.  
  19. Bug? or is this call to be made only when nbPoint > 1. If the latter why is
  20. the conditional statement there?
  21.  
  22. Arni
  23.  
  24.